package cn.edu.ujn.project.supermarket.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import cn.edu.ujn.project.common.annotation.Excel;
import cn.edu.ujn.project.common.core.domain.BaseEntity;

/**
 * 充值记录表对象 charge_report
 * 
 * @author zhaomh
 * @date 2023-11-13
 */
public class ChargeReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充值单号 */
    @Excel(name = "充值单号")
    protected String chargeId;

    /** vip账号 */
    @Excel(name = "vip账号")
    protected String vipId;

    /** 充值金额 */
    @Excel(name = "充值金额")
    protected Double amount;

    
    public ChargeReport() {
		super();
	}

	public ChargeReport(String vipId, Double amount) {
		super();
		this.vipId = vipId;
		this.amount = amount;
	}
    public ChargeReport(String chargeId,String vipId, Double amount) {
        super();
        this.chargeId=chargeId;
        this.vipId = vipId;
        this.amount = amount;
    }
	public void setChargeId(String chargeId) 
    {
        this.chargeId = chargeId;
    }

    public String getChargeId() 
    {
        return chargeId;
    }
    public void setVipId(String vipId) 
    {
        this.vipId = vipId;
    }

    public String getVipId() 
    {
        return vipId;
    }
    public void setAmount(Double amount) 
    {
        this.amount = amount;
    }

    public Double getAmount() 
    {
        return amount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("chargeId", getChargeId())
            .append("vipId", getVipId())
            .append("amount", getAmount())
            .toString();
    }
}
